package com.example.picassodemo01.entity;

import java.util.List;

public class HeroEntity {

    private int code;
    private DataDTO data;
    private String message;
    private String elapsedTime;
    private String providerName;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getElapsedTime() {
        return elapsedTime;
    }

    public void setElapsedTime(String elapsedTime) {
        this.elapsedTime = elapsedTime;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public static class DataDTO {
        private int id;
        private String name;
        private String pinyin;
        private String intro;
        private String url;
        private String skin_name;
        private String occupation;
        private String hero_img;
        private String face_img;
        private List<VoiceDataDTO> voice_data;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getSkin_name() {
            return skin_name;
        }

        public void setSkin_name(String skin_name) {
            this.skin_name = skin_name;
        }

        public String getOccupation() {
            return occupation;
        }

        public void setOccupation(String occupation) {
            this.occupation = occupation;
        }

        public String getHero_img() {
            return hero_img;
        }

        public void setHero_img(String hero_img) {
            this.hero_img = hero_img;
        }

        public String getFace_img() {
            return face_img;
        }

        public void setFace_img(String face_img) {
            this.face_img = face_img;
        }

        public List<VoiceDataDTO> getVoice_data() {
            return voice_data;
        }

        public void setVoice_data(List<VoiceDataDTO> voice_data) {
            this.voice_data = voice_data;
        }

        public static class VoiceDataDTO {
            private String text;
            private String voice;

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getVoice() {
                return voice;
            }

            public void setVoice(String voice) {
                this.voice = voice;
            }
        }
    }
}
